package com.base.mapper.voipmapper;

import com.base.po.voip.Callnums;
import com.base.po.voip.CallnumsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CallnumsMapper {
    int countByExample(CallnumsExample example);

    int deleteByExample(CallnumsExample example);

    int deleteByPrimaryKey(String id);

    int insert(Callnums record);

    int insertSelective(Callnums record);

    List<Callnums> selectByExample(CallnumsExample example);

    Callnums selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Callnums record, @Param("example") CallnumsExample example);

    int updateByExample(@Param("record") Callnums record, @Param("example") CallnumsExample example);

    int updateByPrimaryKeySelective(Callnums record);

    int updateByPrimaryKey(Callnums record);
    
    // AgentID判断
 	Callnums selectByAgentKey(String id);
}